<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
    <script src="./lianxi.js"></script>
</head>
<body>
    <div>
        <input type="checkbox" name="" id=""><span>苹果</span><b>5</b>
        <input type="number" name="" id="" min="0" value="1">
    </div>
    <div>
        <input type="checkbox" name="" id=""><span>橘子</span><b>2</b>
        <input type="number" name="" id="" min="0" value="1">
    </div>
    <div>
        <input type="checkbox" name="" id=""><span>榴莲</span><b>14</b>
        <input type="number" name="" id="" min="0" value="1">
    </div>
    <div>
        <input type="checkbox" name="" id=""><span>火龙果</span><b>8</b>
        <input type="number" name="" id="" min="0" value="1">
    </div>
    <p>
        全选<input type="checkbox" id="all"><br>
        总价：<b>0</b>
    </p>
</body>
</html>